package cn.xbtop.blog.mapper;

import cn.xbtop.blog.pojo.About;

import java.util.List;

/**
 * @author  Mxb
 * @date  2020/2/19 16:01
 * @version 1.0
 */
public interface AboutMapper {
    int deleteByPrimaryKey(Integer aboutId);

    /**
     * 添加
     * @param about
     * @return
     */
    int insert(About about);

    About selectByPrimaryKey(Integer aboutId);

    /**
     * 修改
     * @param about
     * @return
     */
    int updateByPrimaryKey(About about);

    /**
     * 查询关于
     * @return
     */
    About getAbout();

    void updateEnable(About about);

    List<About> list();
}